package com.jintian.smart.base.api.message.provider;

import com.jintian.smart.base.api.message.constant.MailTemplateCodeEnum;
import com.jintian.smart.kernel.core.domain.ResponseDTO;

import java.util.List;
import java.util.Map;

public interface IMailProvider {
    /**
     * 使用模板发送邮件
     */
    ResponseDTO<String> sendMail(MailTemplateCodeEnum templateCode, Map<String, Object> templateParamsMap, List<String> receiverUserList);
}
